/***********************************************************************/
/*  This file is part of the ARM Toolchain package                     */
/*  Copyright (c) 2020 Keil - An ARM Company. All rights reserved.     */
/***********************************************************************/
/*                                                                     */
/*  FlashDev.c:  Device Description for ST STM32H747I-DISCO Flash      */
/*                                                                     */
/***********************************************************************/

#include "FlashOS.H"        

struct FlashDevice const FlashDevice __attribute__((section("DevDscr"))) = {
   ALGO_VERSION,             // Driver Version, do not modify!
   "STM32F407VE_VS",          // Device Name 
   EXTSPI,                     // Device Type
   EXFLASH_BASE_ADDR,         // Device Start Address.0xC0000000,
   0x800000,                 // Device Size in Bytes (8MB)
   EXFLASH_SECTORS_SIZE,       // Programming Page Size 4096 Bytes,0x00001000
   0x00,                       // Reserved, must be 0
   0xFF,                       // Initial Content of Erased Memory
   10000,                      // Program Page Timeout 100 mSec
   6000,                       // Erase Sector Timeout 6000 mSec

// Specify Size and Address of Sectors
{	{0x1000, 0x000000},            // Sector Size  4kB, Sector Num : 1024
   SECTOR_END}
};
